﻿/******************************************************************************
	Cobalt - utility libraries for building XNA games
	Copyright (C) 2008 Philip Djonov

	This program is free software; you can redistribute it and/or modify it
	under the terms of the GNU General Public License as published by the Free
	Software Foundation; either version 2 of the License, or (at your option)
	any later version.

	This program is distributed in the hope that it will be useful, but
	WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
	or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
	for more details.

	You should have received a copy of the GNU General Public License along
	with this program; if not, write to the
	
		Free Software Foundation, Inc.
		51 Franklin Street, Fifth Floor
		Boston, MA  02110-1301, USA.
******************************************************************************/

using System;
using Microsoft.Xna.Framework.Content.Pipeline;

namespace Cobalt.Content.Pipeline
{

	public sealed class NullBuildLogger : ContentBuildLogger
	{
		private NullBuildLogger()
		{
		}

		public static readonly NullBuildLogger NullLogger = new NullBuildLogger();

		public override void LogImportantMessage( string message, params object[] messageArgs )
		{	
		}

		public override void LogMessage( string message, params object[] messageArgs )
		{	
		}

		public override void LogWarning( string helpLink, ContentIdentity contentIdentity, string message, params object[] messageArgs )
		{
		}
	}

	public class DependencyEventArgs : EventArgs
	{
		public string DependencyPath { get; private set; }
		public DependencyEventArgs( string dependencyPath )
		{
			this.DependencyPath = dependencyPath;
		}
	}

	public delegate void DependencyEventHandler( object sender, DependencyEventArgs e );

}